package com.wolfking.controller;

import com.wolfking.demo.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/mask")
@Api(value = "mask", tags = "脱敏")
public class MaskController {

    @SneakyThrows
    @ApiOperation(value = "脱敏")
    @GetMapping(value = "/mask")
    public Student hello() {
        return new Student("西门庆","142431199009170121","13893144338");
    }
}
